package com.yycx.module.bus.client.entity.hy;

import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotation.*;

import java.util.Date;

import com.yycx.common.mybatis.base.entity.AbstractEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import com.yycx.common.mybatis.annotation.TableAlias;

/**
 * 银行流水
 *
 * @author flyme
 * @date 2023-11-05
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("bus_bank_statement")
@TableAlias("bbs")
@ApiModel(value = "BusBankStatement对象", description = "银行流水")
public class BusBankStatement extends AbstractEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    @TableId(value = "bankStatementId", type = IdType.ASSIGN_ID)
    private String bankStatementId;

    @ApiModelProperty(value = "认款ID")
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private Long paymentId;

    @ApiModelProperty(value = "流水号")
    private String statementNo;

    @ApiModelProperty(value = "交易金额")
    private BigDecimal amount;

    @ApiModelProperty(value = "交易日期")
    private Date amountDate;

    @ApiModelProperty(value = "支付账户")
    private String bankNo;

    @ApiModelProperty(value = "客户名称")
    private String customName;

    @ApiModelProperty(value = "客户ID")
    private Long customId;

    @ApiModelProperty(value = "客户编号")
    private String customCode;

    @ApiModelProperty(value = "发货区域")
    private String sendArea;

    @ApiModelProperty(value = "收款银行")
    private Long takeBankId;

    @ApiModelProperty(value = "收款账户")
    private String takeBankNo;
    @ApiModelProperty(value = "收款银行名称")
    private String takeBankName;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "交易渠道")
    private String amountType;

    @ApiModelProperty(value = "用户ID")
    private Long userId;

    @ApiModelProperty(value = "账套ID")
    private Long companyId;

    @ApiModelProperty(value = "认款状态")
    private Integer amountState;

}
